
import { createRouter, createWebHistory, VueRouter } from 'vue-router'
import Home from '../views/Home.vue'
const routes = [
  {
    path: '/',
    name: 'home',
    component: Home,
    children:[
      {
        path:'/',
        name:'first',
        component:() => import('../components/G_main.vue')
      },
      {
        path:'two',
        name:'two',
        component:() => import('../components/G_two.vue')
      },
    ]
  },
]
const router = createRouter({
	history: createWebHistory(process.env.BASE_URL),
	routes
})

export default router
